package cn.tiger.pojo.dto;

import lombok.Data;
import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;

import java.math.BigDecimal;

/**
 * 会员充值请求DTO
 */
@Data
public class MembershipRechargeRequest {
    
    /**
     * 充值金额
     */
    @NotNull(message = "充值金额不能为空")
    @DecimalMin(value = "0.01", message = "充值金额必须大于0")
    private BigDecimal amount;
    
    /**
     * 充值月数
     */
    @NotNull(message = "充值月数不能为空")
    @Min(value = 1, message = "充值月数必须大于0")
    private Integer months;
    
    /**
     * 支付方式（暂时不实现实际支付）
     */
    private String paymentMethod = "MOCK";
}